export class TimeUtils {
  static handlerTime(second: number) {
    const h = Math.floor(second / 60 / 60);
    const m = Math.floor(second / 60 % 60);
    const s = second % 60;
    let result = ``;
    if (h) {
      result += `${h}小时`;
    }
    if (m) {
      result += `${m}分钟`;
    }
    result += `${s}秒`;
    return result;
  }

}